
---@class CustomMoveAction:ActionBase
CustomMoveAction = class(ActionBase)

function CustomMoveAction:GetLabel()
    return ECustomActionLabel.Move;
end

function CustomMoveAction:GetCost()
    return 3;
end

function CustomMoveAction:GetPriority()
    return 1;
end

function CustomMoveAction:GetCanInterruptiblePlan()
    return false;
end

function CustomMoveAction:InitPreconditions()
    local state = State.new()
    state:Set(ECustomStateKey.Can_move,true);
    return state;
end

function CustomMoveAction:InitEffects()
    local state = State.new()
    state:Set(ECustomStateKey.CanPatrol,true);
    return state;
end